function y=prox_norm_1(x,c)

lth=length(x);
y=x*0';
for i=1:lth
    if x(i)+c<0
        y(i)=x(i)+c;
    elseif x(i)-c>0
        y(i)=x(i)-c;
    else
        y(i)=x(i);
    end
end
    